Minimal Forward Checking with Backmarking
نویسندگان
چکیده
The idea behind forward checking is to check forward so that a wrong decision can be detected in early stage during search and thus futile search space can be pruned. However constraint propagation in forward checking may be overdone in certain situations. In this paper we suggest a way to delay constraint evaluation in forward checking with backmarking. Conflict-directed backtracking can also be easily fitted in. Despite the new algorithms can be considered as extensions of Dent and Mercer’s minimal forward checking, they employ simpler data structures which have a smaller space complexity. Experiments were conducted to compare them with minimal forward checking and other regular forward checking based algorithms. Like minimal forward checking, our new algorithms always perform no worse than forward checking and their “non-lazy” counterparts in terms of number of compatibility checks and node expanded given the same variable and value orderings. They also outperform minimal forward checking in almost all of our tested cases. Our experimental results show that the minimal width ordering heuristic can be a better choice than the fail-first heuristic for the new lazy algorithms in many occasions, particularly for problems with a sparse constraint graph. Our results also reveal that domain filtering could degrade a lazy forward checking algorithm in a static variable ordering even though it backtracks chronologically. This refutes the conjecture made by Prosser that increased consistency can guarantee a reduction in search effort for chronological backtrackers.
منابع مشابه
On the Forward Checking Algorithm
The forward checking algorithm for solving constraint satisfaction problems is a popular and successful alternative to backtracking. However, its success has largely been determined empirically, and there has been limited work towards a real understanding of why and when forward checking is the superior approach. This paper advances our understanding by showing that forward checking is closely ...
متن کاملMinimal Forward Checking
Forward Checking is a highly regarded search method used to solve Constraint Satisfaction Problems. This method performs a limited type of lookahead attempting to nd a failure earlier during a backtracking search. In this paper a new search method, Minimal Forward Checking, is introduced which under certain conditions performs the same amount of constraint checking in the worst case as Forward ...
متن کاملMinimal Forward Checking with Backmarking and Conflict-Directed Backjumping
Recently Dent and Mercer have introduced an algorithm called minimal forward checking (MFC) which always performs no worse than forward checking (FC) in terms of number of compatibility checks and node expanded given the same variable and value orderings. In this paper we describe an algorithm which extends MFC with backmarking and conflict-directed backtracking. The new algorithm has a smaller...
متن کاملHybrid Algorithms for the Constraint Satisfaction Problem
It might be said that there are five basic tree search algorithms for the constraint satisfaction problem (csp), namely, naive backtracking (BT), backjumping (BJ), conflict-directed backjumping (CBJ), backmarking (BM), and forward checking (FC). In broad terms, BT, BJ, and CBJ describe different styles of backward move (backtracking), whereas BT, BM, and FC describe different styles of forward ...
متن کاملBacktracking Algorithms for Constraint Satisfaction Problems { a Tutorial Survey
Over the past twenty years a number of backtracking algorithms for constraint satisfaction problems have been developed. This survey describes the basic backtrack search within the search space framework and then presents a number of improvements including look-back methods such as backjumping, constraint recording, backmarking, and look-ahead methods such as forward checking and dynamic variab...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995